package hc.bre.rest.admin

import hc.bre.cmn.ILoad

@groovy.transform.CompileStatic
@groovy.transform.ToString(includeNames=true,includePackage=false)
class RemoteServer implements ILoad{
	String host;
	String appKey;
	String appSecret;
	boolean primary;

	@Override
	public RemoteServer load(Map<Object, Object> map) {
		host = map.host;
		appKey = map.appKey;
		appSecret = map.appSecret;
		primary = map.primary?true:false;
		return this;
	}
}
